package com.ming.springboot.annotation.profile;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

/**
 * Created by mqsi on 2022/5/11 9:38
 */
@Component
@Profile(value = "prod")
public class German implements Movefactor{
	@Override
	public void speak() {
		System.out.println("I am a german");
	}
}
